import { request } from '@/utils'

export default {
  sendEmailCaptcha: (email) => request.get('/email/code', { params: { email }, noNeedToken: true }),
  register: (data) => request.post('/auth/register', data, { noNeedToken: true }),
}
